﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model.Permission
{
    public class AgentUser
    {
        private int _userid;
        private int _agentid;
        private int _groupid;
        private string _loginname;
        private string _password;
        private string _createtime;
        private int _status;
        private string _truename;
        private string _mobilephone;
        private string _phone;
        private string _address;
        private string _lastlogintime;
        private string _lastloginip;
        private int? _isonline;
        private int? _islimit;
        private string _note;
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 经销商id
        /// </summary>
        public int AgentID
        {
            set { _agentid = value; }
            get { return _agentid; }
        }
        /// <summary>
        /// 分组ID(关联Group表主键)
        /// </summary>
        public int GroupID
        {
            set { _groupid = value; }
            get { return _groupid; }
        }
        /// <summary>
        /// 登录名
        /// </summary>
        public string LoginName
        {
            set { _loginname = value; }
            get { return _loginname; }
        }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string Password
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 用户创建时间
        /// </summary>
        public string CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 用户状态(1:正常；2：禁用;3:关闭)
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 用户真名
        /// </summary>
        public string TrueName
        {
            set { _truename = value; }
            get { return _truename; }
        }
        /// <summary>
        /// 联系手机
        /// </summary>
        public string MobilePhone
        {
            set { _mobilephone = value; }
            get { return _mobilephone; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 送货地址
        /// </summary>
        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 上一次登录的时间
        /// </summary>
        public string LastLoginTime
        {
            set { _lastlogintime = value; }
            get { return _lastlogintime; }
        }
        /// <summary>
        /// 上次登录IP地址
        /// </summary>
        public string LastLoginIP
        {
            set { _lastloginip = value; }
            get { return _lastloginip; }
        }
        /// <summary>
        /// 是否在线(1:是；2：否)
        /// </summary>
        public int? IsOnline
        {
            set { _isonline = value; }
            get { return _isonline; }
        }
        /// <summary>
        /// 是否受权限限制(1:是；2：否)
        /// </summary>
        public int? IsLimit
        {
            set { _islimit = value; }
            get { return _islimit; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Note
        {
            set { _note = value; }
            get { return _note; }
        }
    }
}
